package com.cloudshop.service.common.log;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 全局日志信息实体.
 *
 * @author 宫新程
 * @since 2019/3/29 15:09
 */
@Data
public class GlobalAccessLog implements Serializable {
  private String projectName;
  private String hostName;
  private String httpMethod;
  private String requestId;
  private String userAgent;
  private String fromSystem; // 来源系统，从Request Header中获取
  private String domainName;
  private String clientIp;
  private String token;
  private String userId;
  private String userName;
  private String uri;
  private String className;
  private String methodName;
  private String methodParams;
  private Date startTime;
  private Date endTime;
  private long consume;
  private Integer httpStatus;
  private String exception;
}
